#ifndef __AS_WAITING_SCREEN__H__
#define __AS_WAITING_SCREEN__H__

#include "ASScreen.h"
#include "..\control\ASWaiting.h"
#include "..\control\ASFilledArea.h"
#include "..\control\ASLabel.h"
#include "..\control\ASButton.h"

typedef struct
{
    as_screen base;

    as_waiting* wait_p;
    as_label* label_p;
    ASINT scrn_w, scrn_h;
} as_waiting_screen;

/*init and deinit functions are just called by screen stack.*/
void as_waiting_screen_init(as_screen* screen_p);
void as_waiting_screen_deinit(as_screen* screen_p);


/*
 *	[description] show a waiting screen
 *  [param] waiting_text : text in waiting screen
 *  [attention] : all string should be encoded as gb2312.
 */
void as_show_waiting_screen(ASSTR waiting_text);

#endif//__AS_WAITING_SCREEN__H__